<!DOCTYPE html>
<html>
    <head>
        <title><?php echo $content['title'] ?></title>
        <?php include 'view/header.html'; ?>
    </head>
    <body>
        <div id="site">
            <div id="haut">
                <div id="banniere"></div>
            </div>
            <div id="menu_all">
                <div id="menu"><?php include 'view/backOffice/menu.php'; ?></div>
            </div>
            <div id="middle_left"></div>
            <div id="middle_up">
                <?php include 'view/sous_menus.php'; ?>
                <div id="nom_menu"><p><?php echo $content['nom_menu'] ?></p></div>
            </div>
            <div id="middle_mid">
                <div class="middle_article">
                    <!-- form pour upload image -->
                    <form method="POST" action="adminSite.php?page=Photos" enctype="multipart/form-data">
                        <input type="hidden" name="imgUpload" value="tac"></input>
                        <input type="file" name="imgFile">
                        <input type="submit" name="envoyer" value="Envoyer le fichier">
                    </form>

                    <!-- fin form upload image -->
                    <form id="delete" method="post" action="adminSite.php?page=Photos">

                       <?php while ($row = mysql_fetch_array($content['photos'])) {?>

                        <input type="checkbox" name="photo_to_delete[]" value="<?php echo $row['id']; ?>"/>
                        <img src="<?php echo $row['chemins']; ?>" alt="image" style="width : 50px;">
                           <?php }
                        ?>

                        <input type="submit" value="Supprimer photo">
                    </form>
                </div>
            </div>
            <div id="middle_down"></div>
            <div id="barre_down"></div>
        </div>
    </body>
</html>